package ase.eleitweg;
import java.util.Date;
import java.util.List;

import ase.eleitweg.common.*;
import ase.eleitweg.server.*;

public class testinstance {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		WorkflowController wc = WorkflowController.getInstance();
		
		Workflow wf = wc.getWorkflows().get(0);
		
		//new Run(Workflow wf, User user, Node node, Date date);
		Run r1 = new Run(wf, wf.getStartnode().getGroup().getUsers().get(0), wf.getStartnode(), new Date(), true);
		
		
		//Run r2 = new Run(wf, , , new Date());
		
		
		
		List<Workflow> alleWorkflows = wc.getWorkflows();
	/*
		for(Workflow w : alleWorkflows){
			w.getNodes().
		}*/
		
		
		
		
	}

}
